---@diagnostic disable: undefined-global, trailing-space

TUNING.MOD_YUEMIHENG = {
    REPAIR = {
        YUEMIHENG_TOOL = {
            NIGHTMAREFUEL = .2,
        },
    },
    REPAIR_ARMOR = {
        YUEMIHENG_CAPE = {
            NIGHTMAREFUEL = .2,
        },
    },
    EAT_MARBLE = { -- 恶龙血铠:吃大理石
        PER = 3, -- 加三点固定防御，包括位面伤害
        MAX = 10, -- 最多叠加到 10 层
    },
    AVATAR = {
        YUEMIHENG = {
            AOETEND_RADIUS = 8, -- 可以同时对话八码内的作物
            TEMPERATURE = 35, -- 恒定温度
            WALKSPEEDMULT = 2.7, 
            HUNGERRATE = 2,
            WORKEFFICIENCY = 2,
            EXP = {
                BAR = 100, -- 固定单管经验条
                PER_EXP_FROM_MOB_HP = 100, -- 死亡的怪物每100点血量掉1点经验

                ABSORB_PER_LV = .01, -- 每升一级提升1％，
                ABSORB_MAX = .8, -- 最高到80%

                AUTOREGEN_INTERVAL = 1, -- 每秒血量自然回复
                AUTOREGEN_PER = 1, -- 每次回1hp
                AUTOREGEN_PER_MAX = 80, -- 每次最多回复80点

                MAX_HUNGER_PER_LV = 10, -- 每升一级加十点血量/饱食度上
                MAX_HEALTH_PER_LV = 10,

                HOW_MANY_HUNGER_CONSUME_TO_REMOVE_HP_PENALTY = 20, -- 如果血量上限减少，二十点饱食度加速恢复一点 (根本看不懂啥意思)

                -- 每十级被雷劈十道，一道50血，五秒一道，，每六十级受到三十道雷，一道100血，五秒一道，每120级受到120道雷，一道120，两秒一道
                -- 乱七八糟的,就这样了
                LIGHTNING_10_LV = 10,
                LIGHTNING_10_DMG = 50,
                LIGHTNING_10_INTERVAL = 5,
                LIGHTNING_10_NUM = 10,

                LIGHTNING_60_LV = 60,
                LIGHTNING_60_DMG = 100,
                LIGHTNING_60_INTERVAL = 5,
                LIGHTNING_60_NUM = 30,

                LIGHTNING_120_LV = 120,
                LIGHTNING_120_DMG = 120,
                LIGHTNING_120_INTERVAL = 2,
                LIGHTNING_120_NUM = 120,
            },
            DRAIN = .05, -- 带百分之五的攻击吸血 

            PLANAR_ABSORB = .95, -- 位面防御 角色能不能加上位面抵抗）
            DMGMULT_ADD_WHEN_KILL_BOSS = .2, -- 击杀巨兽boss后，永久增加20％的伤害，每只boss限制一次
        }
    },
    TOOL = {
        FINITEUSE = 2000,
    },
    SPEAR = {
        DMG = 130,
        RANGE = 2,
        FINITEUSE = 2000,
    },
    STAFF = {
        FINITEUSE = 2000,
    },
    CAPE = {
        ABSORB = .95,
        WALKSPEEDMULT = 1.25,
        HUNGER_RATE = .75,
        DURABILITY = 2000,
        PERISH = 0.05,
        AVOID_COLD = 240,
        AVOID_HEAT = 240,
    },
    HAT = {
        ABSORB = .8,
        LIGHT_RADIUS = 10,
        AVOID_DMG_INTERVAL = 10, -- 每十秒获得一次免伤
        AVOID_DMG_USE = 10, -- 免伤消耗耐久
        FINITEUSE = 2000,
        HALF_BUILD_CONSUME_USE = 200, -- 制作消耗减半，一次消耗200点 耐久?
    }
}